<?php
$v_status = 1;
$v_filter = '';
if(_is_sqlserver()){
	$cmd = @mssql_init("Onegate_CateGetAll",$conn);
	@mssql_bind($cmd,"@p_filter",$v_filter,SQLVARCHAR);	
	@mssql_bind($cmd,"@p_status",$v_status,SQLINT4);
	$resoult = @mssql_execute($cmd);
	$arr_all_cate = _get_row_to_array($resoult); 
	@mssql_free_result($resoult);

	$cmd = @mssql_init("Onegate_AgencyGetAll",$conn);
	@mssql_bind($cmd,"@p_filter",$v_filter,SQLVARCHAR);	
	@mssql_bind($cmd,"@p_status",$v_status,SQLINT4);
	$resoult = @mssql_execute($cmd);
	$arr_all_agency = _get_row_to_array($resoult); 
	@mssql_free_result($resoult);

}
?>
